//
//  QSShareHelper.h
//  QSSmarkPark-iOS
//
//  Created by 孙俊 on 2018/3/14.
//  Copyright © 2018年 QiSheng. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UMShare/UMShare.h>

@interface QSShareHelper : NSObject

/**
 * @brief 单纯的分享网页 弹出页面
 * @param title        标题
 * @param des          描述
 * @param completion   分享成功回调
 */
- (void)shareWebPageWithTitle:(NSString *)title
                          des:(NSString *)des
                          url:(NSString *)url
                     imageURL:(NSString *)imageURL
                   completion:(UMSocialRequestCompletionHandler)completion;

/**
 * @brief 弹出分享页面   并且类型是分享图片
 * @param image        图片
 * @param completion   分享成功回调
 */
- (void)shareImage:(UIImage *)image
        completion:(UMSocialRequestCompletionHandler)completion;

+ (instancetype)sharedHelper;

@end
